.class public Lcom/xiaomi/notes/update/NotesRefreshScheduler;
.super Lcom/xiaomi/common/BasicRefreshScheduler;
.source "NotesRefreshScheduler.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0
    .parameter "context"

    .prologue
    .line 11
    invoke-direct {p0, p1}, Lcom/xiaomi/common/BasicRefreshScheduler;-><init>(Landroid/content/Context;)V

    .line 12
    return-void
.end method


# virtual methods
.method protected getDefaultRefreshTask(I)Lcom/xiaomi/common/BasicRefreshTask;
    .locals 4
    .parameter "mode"

    .prologue
    .line 16
    new-instance v0, Lcom/xiaomi/common/BasicRefreshTask;

    iget-object v1, p0, Lcom/xiaomi/notes/update/NotesRefreshScheduler;->mContext:Landroid/content/Context;

    new-instance v2, Lcom/xiaomi/notes/update/NotesVersionChecker;

    iget-object v3, p0, Lcom/xiaomi/notes/update/NotesRefreshScheduler;->mContext:Landroid/content/Context;

    invoke-direct {v2, v3}, Lcom/xiaomi/notes/update/NotesVersionChecker;-><init>(Landroid/content/Context;)V

    invoke-direct {v0, p0, v1, p1, v2}, Lcom/xiaomi/common/BasicRefreshTask;-><init>(Lcom/xiaomi/common/BasicRefreshScheduler;Landroid/content/Context;ILcom/xiaomi/common/BasicVersionChecker;)V

    return-object v0
.end method
